package com.bnlr.lrparking.appui.bank.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hp on 2017/8/25.
 */

public class BankCardM {

    private String msgcode;
    private String msg;
    private List<DataBean> data;
    private String errorCode;
    private int recordCount;


    public void setMsgcode(String msgcode) {
        this.msgcode = msgcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public String getMsgcode() {
        return msgcode;
    }

    public String getMsg() {
        return msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public static class DataBean implements Serializable{

        /**
         *  "Id": 2,
         "UserId": 38,
         "RealName": "陈振",
         "BankCode": "CMB",
         "BankName": "招商银行",
         "SubBankName": "郑州市文化路支行",
         "AccountNo": "6225883800336609",
         "Mobile": "13676973571"
         */

        private String Id;
        private String UserId;
        private String RealName;
        private String BankCode;
        private String BankName;
        private String SubBankName;
        private String AccountNo;
        private String Mobile;
        private String BankIconUrl;
        private int CardType;
        private String CardFullName;

        public String getBankIconUrl() {
            return BankIconUrl;
        }

        public void setBankIconUrl(String bankIconUrl) {
            BankIconUrl = bankIconUrl;
        }

        public int getCardType() {
            return CardType;
        }

        public void setCardType(int cardType) {
            CardType = cardType;
        }

        public String getCardFullName() {
            return CardFullName;
        }

        public void setCardFullName(String cardFullName) {
            CardFullName = cardFullName;
        }

        public String getId() {
            return Id;
        }

        public void setId(String id) {
            Id = id;
        }

        public String getUserId() {
            return UserId;
        }

        public void setUserId(String userId) {
            UserId = userId;
        }

        public String getRealName() {
            return RealName;
        }

        public void setRealName(String realName) {
            RealName = realName;
        }

        public String getBankCode() {
            return BankCode;
        }

        public void setBankCode(String bankCode) {
            BankCode = bankCode;
        }

        public String getBankName() {
            return BankName;
        }

        public void setBankName(String bankName) {
            BankName = bankName;
        }

        public String getSubBankName() {
            return SubBankName;
        }

        public void setSubBankName(String subBankName) {
            SubBankName = subBankName;
        }

        public String getAccountNo() {
            return AccountNo;
        }

        public void setAccountNo(String accountNo) {
            AccountNo = accountNo;
        }

        public String getMobile() {
            return Mobile;
        }

        public void setMobile(String mobile) {
            Mobile = mobile;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "Id='" + Id + '\'' +
                    ", UserId='" + UserId + '\'' +
                    ", RealName='" + RealName + '\'' +
                    ", BankCode='" + BankCode + '\'' +
                    ", BankName='" + BankName + '\'' +
                    ", SubBankName='" + SubBankName + '\'' +
                    ", AccountNo='" + AccountNo + '\'' +
                    ", Mobile='" + Mobile + '\'' +
                    ", BankIconUrl='" + BankIconUrl + '\'' +
                    ", CardType=" + CardType +
                    ", CardFullName='" + CardFullName + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "BankCardM{" +
                "msgcode='" + msgcode + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                ", errorCode='" + errorCode + '\'' +
                '}';
    }
}
